package o;

import com.huawei.hms.framework.network.restclient.hwhttp.dns.DnsConfig;

public abstract class bfj {
    public static int ॱ() {
        try {
            return ContentManager.getInstant().getContext().getPackageManager().getPackageInfo(ContentManager.getInstant().getContext().getPackageName(), DnsConfig.MAX_CACHE_ENTRIES).versionCode;
        } catch (Throwable e) {
            Logger.ˋ("BuoyUtils", "getVersionCode error.", e);
            return 0;
        }
    }

    public static String ˋ() {
        try {
            return ContentManager.getInstant().getContext().getPackageManager().getPackageInfo(ContentManager.getInstant().getContext().getPackageName(), DnsConfig.MAX_CACHE_ENTRIES).versionName;
        } catch (Throwable e) {
            Logger.ˋ("BuoyUtils", "getVersionCode error.", e);
            return "";
        }
    }
}
